package fun.joney.task;

import javafx.concurrent.Task;

/**
 * @author wangxianchen
 * @create 2018-06-08
 * @desc
 */
public class MyTask extends Task<Integer> {
    @Override
    protected Integer call() throws Exception {
        Thread.sleep(2000);
        return 1;
    }
}
